package com.fourfinance.util;


public final class LenderConstants {
	
	/**
	 * Maximum attempt number of a single IP address
	 */
	public static final Integer MAX_ATTEMPT = 3;
	
	/**
	 * Interest rate. By default it's set to %5
	 */
	public static final Float DEFAULT_INTEREST = 0.05F;
	
	/**
	 * Maximum amount of a Loan
	 */
	public static final long MAX_AMOUNT = 1000L;
	
	/**
	 * Minimum hour of the day that client can apply for loan.
	 * By default it's set to 06:00 morning
	 */
	public static final Integer MIN_HOUR = 6;
	
	/**
	 * Minimum hour of the day that client can apply for loan.
	 * By default it's set to 00:00 evening
	 */
	public static final Integer MAX_HOUR = 0;
	
	/**
	 * Week number for Loan extension
	 */
	public static final Integer EXTENSION_WEEK_NO = 1;
	
	/**
	 * Factor of a interest for Loan extension
	 */
	public static final Float EXTENSION_FACTOR = 0.015F;
	
	/**
	 * Generic date format string used by Lender Application overall
	 */
	public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
	
	/**
	 * Resource bundle location
	 */
	public static final String RESOURCES = "i18n/messages";

}
